package com.hdax.dm.rest;

import com.hdax.dm.beans.order.order;
import com.hdax.dm.common.api.orderControllerApi;
import com.hdax.dm.service.queryorderlistService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class payRestService implements orderControllerApi {

    @Autowired
    private queryorderlistService queryorderlistService;

    @Override
    public order dingdan(String orderNo) {
        return queryorderlistService.pay(orderNo);
    }
}
